import { defineStore } from 'pinia'
//新建会员，添加员工, 新增管理员状态管理
export const useCreateStore = defineStore('create', {
  state(){
    return{
      showCreateMember: false,
      showCreateStaff: false,
      addAdminVisible:false,
      showAddStaff:false
    }
  },
  actions: {
    toggleAdminDialog() {
      this.addAdminVisible = true
    },
    toggleAddStaffDialog() {
      this.showAddStaff = true
    }
  },

})
